//
//  UIFont_Common.swift
//  PhotoLine
//
//  Created by 吴帅 on 2017/11/20.
//  Copyright © 2017年 PhotoLine. All rights reserved.
//

import Foundation
import UIKit

extension UIFont {
    open class func font(fontSize size:CGFloat, fontWeight weight:CGFloat) -> UIFont {
        let font = UIFont.systemFont(ofSize: size, weight: UIFontWeight(weight));
        return font;
    }
    
    open class func font(_ size:CGFloat) -> UIFont {
        let font = UIFont.systemFont(ofSize: size);
        return font;
    }
}
